/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Huytn.sessionBean;

import java.io.Serializable;

/**
 *
 * @author DR.HUY
 */
public class ShoppingCartDTO implements Serializable{
    private String ticketName;
    private int ticketID, quantity, price, maxQuan;

    public int getMaxQuan() {
        return maxQuan;
    }

    public void setMaxQuan(int maxQuan) {
        this.maxQuan = maxQuan;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getTicketID() {
        return ticketID;
    }

    public void setTicketID(int ticketID) {
        this.ticketID = ticketID;
    }

    public String getTicketName() {
        return ticketName;
    }

    public void setTicketName(String ticketName) {
        this.ticketName = ticketName;
    }

    public ShoppingCartDTO() {
    }

    public ShoppingCartDTO(String ticketName, int ticketID, int quantity, int maxQuan, int price) throws Exception {
        this.ticketName = ticketName;
        this.ticketID = ticketID;
        this.quantity = quantity;
        this.maxQuan = maxQuan;
        this.price = price;
    }
}
